package com.example.springboot.web.common.ex;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @author lei yu
 * @date 2024/05/20
 */
@Data
@AllArgsConstructor
public class ErrorCode {
    /**
     * 错误码
     */
    private final Integer code;
    /**
     * 错误提示
     */
    private final String message;

}
